<template>
	<view>
		<Test v-if="props.extraData.component === 'test'" :data="item" />
	</view>
</template>

<script setup>
	import Test from '@/components/test/index.vue'
	const props = defineProps({
		item: null,
		index: 0,
		// 这里的extraData是在页面中通过:extraData给z-paging组件传的对象
		extraData: null
	})

</script>

<style>

</style>